import math

def is_point_in_circle(circle_center, radius, point, tolerance=0.000001):
    # 计算点到圆心的距离
    distance = math.sqrt((point[0] - circle_center[0]) ** 2 + (point[1] - circle_center[1]) ** 2)
    
    # 判断距离与半径的关系，考虑浮点数精度
    if distance - radius > tolerance:
        return -1  # 点在圆外
    elif distance - radius < -tolerance:
        return 1   # 点在圆内
    else:
        return 0   # 点在圆上

# 示例使用
circle_center = (0, 0)  # 圆心坐标
x=float(input())
y=float(input())
point = (x, y)
radius = float(input())

result = is_point_in_circle(circle_center, radius, point)
print(result)